﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProjectChords.Services.Models;

namespace ProjectChords.Services.API
{
    public interface IContentService : IGenericCRUDService<ContentItem>
    {
        /// <summary>
        /// Gets all ContentItem objects that are categorised by the given category
        /// </summary>
        /// <param name="contentCategoryId">Unique Id of the ContentCategory object</param>
        /// <returns>A list of ContentItems that match the given ContentCategory</returns>
        List<ContentItem> GetAllContentItemsForGivenCategory(string contentCategoryId);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="parentContentCategoryId"></param>
        /// <returns></returns>
        List<ContentItem> GetAllContentItemsForGivenCategoryAndItsSubCategories(string parentContentCategoryId);
    }
}
